<?php
/**
 * Smarty plugin
 * @package Smarty
 * @subpackage plugins
 */


/**
 * Smarty order number format plugin
 *
 * Type:     modifier<br>
 * Name:     ordernum<br>
 * @param string
 * @return string
 */
function smarty_modifier_clear($string,$what=null)
{     
    //$i = strlen($string) - 6;
    //if($i < 0){
    //    $string = str_repeat('0',abs($i)) . $string;
    //}
    return str_replace($what,'',$string);
}

?>
